<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="集群副本恢复到新集群，因临时目录“/tmp/omm_mppdb”不存在，恢复失败">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="DWS_00109.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="">
<meta name="DC.Publisher" content="20250306">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="DWS_00115">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>集群副本恢复到新集群，因临时目录“/tmp/omm_mppdb”不存在，恢复失败</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="DWS_00115"></a><a name="DWS_00115"></a>

<h1 class="topictitle1">集群副本恢复到新集群，因临时目录“/tmp/omm_mppdb”不存在，恢复失败</h1>
<div><div class="section"><h4 class="sectiontitle"><span style="color:#5B9BD5;">故障现象</span></h4><p>集群副本恢复到新集群，已在新集群所有节点上传配置文件，并设置集群用户可读权限后，任务详情中仍然有“数据库用户无法访问安装配置文件”的错误提示。</p>
</div>
<div class="section"><h4 class="sectiontitle"><span style="color:#5B9BD5;">可能原因</span></h4><p>GaussDB(DWS)节点的临时目录“/tmp/omm_mppdb”创建失败或者在某种异常场景中被错误删除。</p>
</div>
<div class="section"><h4 class="sectiontitle"><span style="color:#5B9BD5;">处理建议</span></h4><ol><li><span>登录GaussDB(DWS)集群后台任意一个节点。</span></li><li><span>依次执行以下命令切换到集群用户并加载环境变量。</span><p><pre class="screen">su - <em>集群用户名</em></pre>
<pre class="screen">source <em>环境变量文件路径</em></pre>
</p></li><li><span>执行<strong>gs_ssh -c 'hostname'</strong>命令，查看每个节点的回显中是否包含“scp: /tmp/omm_mppdb/: Not a directory”错误信息。</span><p><ul><li>如果包含错误信息，检查对应节点下是否存在“/tmp/omm_mppdb/”目录。如果不存在，请登录到该节点手动创建“/tmp/omm_mppdb/”目录并设置集群用户读写权限后重试。</li><li>如果不包含错误信息，请收集日志并联系技术支持工程师协助解决。</li></ul>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>父主题：</strong> <a href="DWS_00109.html">常见问题</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>